package com.springTest;

import org.springframework.stereotype.Component;

/**
 * @author wang
 * @Description
 * @create 2021-10-29 17:14
 */
@Component
public class Teacher {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Student getStudent(){
        return new Student();
    }
}
